package com.bwie.mapper;

import com.bwie.pojo.po.DictPo;
import com.bwie.pojo.po.RegistrationPo;
import com.bwie.pojo.vo.RegistrationVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ 挂号
 * @descriptions: RegistrationMapper
 * @author: LiYang
 * @date: 2025/3/14 15:42
 * @version: 1.0
 */
public interface RegistrationMapper {

    List<RegistrationVo> getList(@Param("userId") Integer userId, @Param("userGrade") Integer userGrade,@Param("state") Integer state);

    List<RegistrationVo> getUserList(@Param("userGrade") Integer userGrade, @Param("state") Integer state);

    DictPo selectDict();


    void add(RegistrationVo registrationVo);

    void updStatus(@Param("registrationId") Integer registrationId);

    RegistrationVo selectId(@Param("registrationId") Integer registrationId);

    void upaRemarks(RegistrationPo registrationPo);

    void upd(RegistrationPo registrationPo);

    RegistrationPo getID(@Param("registrationId") Integer registrationId);
}
